package com.hongdee.crm.approval.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 审批明细
 * Created by Mr. Xu on 2017/8/3.
 */
@Entity
@Table(name = "T_CRM_CAR_APPROVALFLOW_DETAIL")
public class TCrmCarApprovalFlowDetail extends BaseEntity {
    /**
     * 单据类型
     */
    @Column(name = "bill_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '单据类型'")
    private String billType;
    /**
     * 单据ID
     */
    @Column(name = "bill_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '单据ID'")
    private String billId;
    /**
     * 提交时间
     */
    @Column(name = "approval_p_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '提交时间'")
    private String approvalPDate;
    /**
     * 审批人
     */
    @Column(name = "approvaler", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批人'")
    private String approvaler;

    /**
     * 审批状态(0通过1不通过)
     */
    @Column(name = "approval_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批状态'")
    private String approvalStatus;

    /**
     * 审批时间
     */
    @Column(name = "approval_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批时间'")
    private String approvalDate;

    /**
     * 审批意见
     */
    @Column(name = "approval_opinion", length =255, columnDefinition = "VARCHAR(255) COMMENT '审批意见'")
    private String approvalOpinion;

    /**
     * 公司ID
     */
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    public String getBillType() {
        return billType;
    }

    public void setBillType(String billType) {
        this.billType = billType;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getApprovaler() {
        return approvaler;
    }

    public void setApprovaler(String approvaler) {
        this.approvaler = approvaler;
    }

    public String getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(String approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(String approvalDate) {
        this.approvalDate = approvalDate;
    }

    public String getApprovalOpinion() {
        return approvalOpinion;
    }

    public void setApprovalOpinion(String approvalOpinion) {
        this.approvalOpinion = approvalOpinion;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
